package com.hxtec.polaris.mapper;

import com.hxtec.polaris.entity.ShopOrderHistory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author yonyong
 * @Description //订单操作记录
 * @Date 2019/12/26 15:50
 * @Param
 * @return
 **/
public interface ShopOrderHistoryMapper {

    /**
     * 添加订单操作记录
     * @param shopOrderHistory
     * @return
     */
    int insertDynamic(ShopOrderHistory shopOrderHistory);

    /**
     * 根据订单id获取订单操作记录信息
     * @param orderId
     * @return
     */
    List<ShopOrderHistory> selectByOrderId(@Param("orderId") int orderId);

}